package com.zhonghui.procurement.mapper;

import com.zhonghui.procurement.domain.ProcurementPushUser;
import com.zhonghui.procurement.domain.vo.ProcurementPushUserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProcurementPushUserMapper {
    /**
     * 查询采购-用户推送列表
     *
     * @param procurementPushUser 采购-用户推送
     * @return 采购-用户推送集合
     */
    public List<ProcurementPushUserVo> selectProcurementPushUserList(ProcurementPushUser procurementPushUser);

    void updateStatus(@Param("pushId") Integer pushId,@Param("userId") Integer userId);

    Integer getPushId(Integer listId);

    Integer ifExist(@Param("pushId") Integer pushId,@Param("userId") Integer userId);
}
